package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.CheckGroup;

import java.util.List;

/**
 *@Author Administrator
 *@Date 2020/3/29 0029
 *@Version 1.0
 *@Description 检查组接口
 */
public interface CheckGroupService {

    PageResult pageQuery( QueryPageBean queryPageBean);

    void add(CheckGroup checkGroup, Integer[] checkitemIds);

    CheckGroup findId(Integer id);

    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    void update(CheckGroup checkGroup, Integer[] id);

    void delete(Integer id);

    List<CheckGroup> findAll();
}
